<?php 
	$seoer 		= @$this->seoer;
	$status	  	= @$seoer['seoer_status'];
	if($status == 1){
		$status = ' checked="checked" ';
	}
	
?>
<link rel="stylesheet" href="<?php echo WEB_PATH?>/public/extra_info/js/select2/select2.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
<script src="<?php echo WEB_PATH?>/public/extra_info/js/select2/select2.min.js" type="text/javascript" charset="utf-8"></script>                
<script src="<?php echo WEB_PATH?>/public/extra_info/js/select2/select2_locale_vn.js" type="text/javascript" charset="utf-8"></script>
<form id="frmUpdate" name="frmUpdate" method="post" action="<?php echo WEB_PATH;?>/administrator/seoer/update">
<input type="hidden" id="id" name="id" value="<?php echo $this->id;?>">
<input type="hidden" id="do" name="do" value="submit" />
<article class="module width_full">
<header>
  <h3 class="tabs_involved">Thêm mới/ Cập nhật nhân viên SEO</h3>
	<div class="functionBtnEvent">
		<ul>
		  <li><a href="<?php echo WEB_PATH;?>/administrator/seoer">Quay lại trang quản lý</a></li>
		</ul>
	</div>
</header>
<div class="module_content">
	<div class="update_box">
		<div class="ub_left fl">Kích hoạt</div>
		<div class="ub_right2 fl"><input type="checkbox" id="seoer_status" name="seoer_status" <?php echo $status;?> /> Kích hoạt</div>
		<div class="cb"></div>
		<div class="ub_left fl">Nhân viên</div>
		<div class="ub_right2 fl">
			<?php 
				if(isset($seoer) && sizeof($seoer) >0){
					echo '<b>'.$seoer['firstname'].' '.$seoer['lastname'].'</b>';		
				}else{
					echo $this->user;
				}
			
			?>
		</div>
		<div class="cb"></div>
		<div class="ub_left fl">Mô tả về nhân viên</div>
		<div class="ub_right fl"><textarea type="text" id="description" name="description"><?php echo @$seoer['description'];?></textarea></div>
		<div class="cb"></div>
		<div class="ub_button_list">
			<div id="cancel" class="ub_button fl">
				<a href="<?php echo WEB_PATH.'/administrator/seoer';?>">Quay lại</a>
			</div>
			<div onclick="return validateData()" class="ub_button fl">
				Lưu lại
			</div>
			<div class="cb"></div>
		</div>
		<div class="cb"></div>
	</div>
</div>
</article>
<div class="clear"></div>
</form>